package com.frxuexi.mymvi

import com.frxuexi.mymvi.entity.RecordData

sealed class MessState {
    /**
     * 成功的状态，并把结果携带出去
     */
    data class onSuccess(val list:List<RecordData>):MessState()

    data class onError(val msg:String):MessState()

    data object onLoading:MessState()
}